package com.css.fxfzfxqh.modules.buildingIndividual.service;

import com.css.fxfzfxqh.modules.buildingIndividual.entity.BuildingIndividualEntity;
import com.css.fxfzfxqh.modules.buildingIndividual.vo.ParamsVo;
import com.css.fxfzfxqh.modules.buildingKilometerGrid.model.param.QueryByVersionParam;
import org.springframework.web.multipart.MultipartFile;

import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.Map;

public interface BuildingIndividualService {

    Map<String, Object> upload(MultipartFile file);

    Map<String, Object> page(ParamsVo paramsVo, int curPage, int pageSize);

    Map<String, Object> getVersion(ParamsVo paramsVo, int curPage, int pageSize);

    boolean update(BuildingIndividualEntity buildingIndividualEntity) throws UnsupportedEncodingException;

    boolean delete(String ids);

    BuildingIndividualEntity findById(String id);

    Map<String, String> getRole();

    List<BuildingIndividualEntity> queryYwData(QueryByVersionParam queryByVersionParam);

    List<BuildingIndividualEntity> queryDataByParam1(QueryByVersionParam queryByVersionParam);

    public Map<String, Object> queryBuildingMap(ParamsVo paramsVo);
}
